package com.yiren.backstage.judge.services.standard;

import com.yiren.backstage.currency.bean.CarStateBean;
import com.yiren.backstage.currency.entity.JudgeDetailsEntity;
import com.yiren.backstage.currency.enums.ResultStateEnum;
import com.yiren.backstage.judge.bean.NodeBean;
import com.yiren.backstage.judge.handler.AutoJudgeHandler;
import com.yiren.backstage.judge.thread.AutoJudgeThread;

/**
 * Time:2022/4/13 11:09
 * Author:xiaozan
 * Description:自动评判线程服务
 */
public interface IAutoJudgeThreadService {

    /**
     * 返回评判执行结果
     * @param autoJudgeThread 当前评判线程
     * @return
     */
    ResultStateEnum executeResult(AutoJudgeThread autoJudgeThread);

    /**
     * 执行评判结果
     * @param autoJudgeThread 当前评判线程
     * @param resultStateEnum 执行结果
     */
    void runExecuteResultWith(AutoJudgeThread autoJudgeThread, ResultStateEnum resultStateEnum);
}
